package com.project.common.mapper;

import com.project.common.entity.SysAuthorization;

import java.util.List;

public interface SysAuthorizationMapper {
    int deleteByPrimaryKey(Integer auId);

    int insert(SysAuthorization record);

    int insertSelective(SysAuthorization record);

    SysAuthorization selectByPrimaryKey(Integer auId);

    int updateByPrimaryKeySelective(SysAuthorization record);

    int updateByPrimaryKey(SysAuthorization record);

    List<SysAuthorization> queryAllSysAuthorization();

    List<SysAuthorization> querySysAuthorizationByRoleId(Integer roleId);

    List<SysAuthorization> checkAuthenticate(Integer userId,String auCode);
}